package com.java2207.group1.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author lz
 * @Date 2022/7/26 14:31
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Equipments {
    private Integer id;//仓库设备id
    private String name;//仓库设备名
    private String pic;//设备照片
    private Integer repertory;//设备数量
    private String payor;
    private String contactPayor;
    private String userOfAssets;
    private Integer expenseAmount;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date disbursementDate;
    private Integer pirce;
}
